#pragma once

#include "guildservicebuilding.service.GuildServiceBuilding.h"

class GuildServiceBuildingImpl : public GuildServiceBuilding {
public:
//implementation->
    GuildServiceBuildingImpl();
    virtual ~GuildServiceBuildingImpl();
    virtual bool onAfterFork(rpc::Rpc* rpc) override;
    virtual bool onBeforeDestory(rpc::Rpc* rpc) override;
    virtual void onTick(std::time_t ms) override;
    virtual void onServiceCall(rpc::StubCallPtr callPtr) override;
    virtual std::shared_ptr<BuildingUpgradeRes> BuildingUpgrade(rpc::StubCallPtr call, const BuildingUpgradeArg&) override;
    virtual std::shared_ptr<CrystalPrayRes> CrystalPray(rpc::StubCallPtr call, const CrystalPrayArg&) override;
    virtual std::shared_ptr<CrystalChargeRes> CrystalCharge(rpc::StubCallPtr call, const CrystalChargeArg&) override;
//implementation<-
};

